﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace OgilvyOne.Model.vico.ccc_interface
{
    [Serializable]
    public class VW
    {

        public WEBSiteInterface WEBSiteInterface { get; set; }
    }

    [Serializable]
    public class WEBSiteInterface
    {
        public RegisteredData RegisteredData { get; set; }
    }

    [Serializable]
    public class RegisteredData
    {
        [XmlElement(ElementName="")]
        public List<record> record { get; set; }
        public RegisteredData()
        {
            record = new List<record>();
        }
    }

    [Serializable]
    public class record
    { 
        /// <summary>
        /// 
        /// </summary>
        [XmlElement]
        public int recordID {get;set;}
        /// <summary>
        /// 姓名
        /// </summary>
        [XmlElement]
        public string customerName{get;set;}
        /// <summary>
        /// 称谓
        /// </summary>
        [XmlElement]
        public string title {get;set;}
        /// <summary>
        /// 生日
        /// </summary>
        [XmlElement]
        public string birthday {get;set;}
        /// <summary>
        /// 手机号码
        /// </summary>
        [XmlElement]
        public string mobile {get;set;}
        /// <summary>
        /// 备用手机号
        /// </summary>
        [XmlElement]
        public string secondMobile {get;set;}
        /// <summary>
        /// 电话号码
        /// </summary>
        [XmlElement]
        public string phone {get;set;}
        /// <summary>
        /// 电子邮箱
        /// </summary>
        [XmlElement]
        public string email {get;set;}
        /// <summary>
        /// 地址
        /// </summary>
        [XmlElement]
        public string address {get;set;}
        /// <summary>
        /// 邮编
        /// </summary>
        [XmlElement]
        public string postCode  {get;set;}
        /// <summary>
        /// 省
        /// </summary>
        [XmlElement]
        public string province {get;set;}
        /// <summary>
        /// 市
        /// </summary>
        [XmlElement]
        public string city {get;set;}
        /// <summary>
        /// 区县
        /// </summary>
        [XmlElement]
        public string district {get;set;}
        /// <summary>
        /// 是否索取产品手册
        /// </summary>
        [XmlElement]
        public string isProductManuals {get;set;}
        /// <summary>
        /// 感兴趣品牌
        /// </summary>
        [XmlElement]
        public string vicoBrand {get;set;}
        /// <summary>
        /// 感兴趣车系
        /// </summary>
        [XmlElement]
        public string vicoSeries {get;set;}
        /// <summary>
        /// 感兴趣的大众汽车车型名称
        /// </summary>
        [XmlElement]
        public string vicoModel {get;set;}
        /// <summary>
        /// 计划购买大众汽车时间
        /// </summary>
        [XmlElement]
        public string vicoBuyTime {get;set;}
        /// <summary>
        /// 计划购买大众汽车具体时间
        /// </summary>
        [XmlElement]
        public string vicoBuyDetailTime {get;set;}
        /// <summary>
        /// 购买预算
        /// </summary>
        [XmlElement]
        public string vicoBuyBudget {get;set;}
        /// <summary>
        /// 具体购买预算
        /// </summary>
        [XmlElement]
        public string vicoBuyDetailBudget {get;set;}
        /// <summary>
        /// 是否接受大众市场活动信息
        /// </summary>
        [XmlElement]
        public string isIncept {get;set;}
        /// <summary>
        /// 注册数据来源
        /// </summary>
        [XmlElement]
        public string source {get;set;}

        /// <summary>
        /// 注册数据子来源
        /// </summary>
        [XmlElement]
        public string sourceSub { get; set; }

        /// <summary>
        /// 渠道来源
        /// </summary>
        [XmlElement]
        public string channelSource { get; set; }

        /// <summary>
        /// 渠道子来源
        /// </summary>
        [XmlElement]
        public string channelSourceSub { get; set; }
        
        /// <summary>
        /// 是否有车
        /// </summary>
        [XmlElement]
        public string isHavaCar {get;set;}
        /// <summary>
        /// 原购车时间
        /// </summary>
        [XmlElement]
        public string carBuyTime {get;set;}
        /// <summary>
        /// 原购车辆品牌
        /// </summary>
        [XmlElement]
        public string brand {get;set;}
        /// <summary>
        /// 原购车系
        /// </summary>
        [XmlElement]
        public string series {get;set;}
        /// <summary>
        /// 原购车型
        /// </summary>
        [XmlElement]
        public string model {get;set;}
        /// <summary>
        /// 试驾车型
        /// </summary>
        [XmlElement]
        public string testModels {get;set;}
        /// <summary>
        /// 首选试驾时间
        /// </summary>
        [XmlElement]
        public string firstDate {get;set;}
        /// <summary>
        /// 次选试驾时间
        /// </summary>
        [XmlElement]
        public string tenDate {get;set;}
        /// <summary>
        /// 会员卡号
        /// </summary>
        [XmlElement]
        public string vipCardNo {get;set;}
        /// <summary>
        /// 经销商
        /// </summary>
        [XmlElement]
        public string dealerName {get;set;}
        /// <summary>
        /// 经销商所在省
        /// </summary>
        [XmlElement]
        public string dealerProvince {get;set;}
        /// <summary>
        /// 经销商所在市
        /// </summary>
        [XmlElement]
        public string dealerCity {get;set;}
        /// <summary>
        /// 是否同意电话联系
        /// </summary>
        [XmlElement]
        public string isMobile {get;set;}
        /// <summary>
        /// 是否同意邮件联系
        /// </summary>
        [XmlElement]
        public string isEmail {get;set;}
        /// <summary>
        /// 活动名称
        /// </summary>
        [XmlElement]
        public string camName {get;set;}
        /// <summary>
        /// 注册时间
        /// </summary>
        [XmlElement]
        public string addTime {get;set;}

       
        /// <summary>
        /// 信息类型
        /// </summary>
        [XmlElement]
        public string infoType {get;set;}

        /// <summary>
        /// 推送时间
        /// </summary>
        [XmlIgnore]
        public DateTime PushTime { get; set; }

        /// <summary>
        /// 传输总条数
        /// </summary>
        [XmlElement]
        public string transferTotal { get; set; }

        /// <summary>
        /// 传输总条数统计时间
        /// </summary>
        [XmlElement]
        public string transferNumericalTime{get;set;}

        /// <summary>
        /// arvato返回状态时间
        /// </summary>
        [XmlIgnore]
        public DateTime ReceiveTime { get; set; }
        /// <summary>
        /// arvato返回状态代码
        /// </summary>
        [XmlIgnore]
        public int ResultCode { get; set; }

        /// <summary>
        /// arvato返回的状态描述
        /// 
        /// </summary>
        public string ResultDesc { get; set; }

        /// <summary>
        /// arvato返回的状态明细
        /// </summary>
        public string ResultDetail { get; set; }
        /// <summary>
        /// 推送失败错误描述
        /// </summary>
        public string SendErrorDesc { get; set; }
	

    }

}
